#!/usr/bin/python
# -*- coding: UTF-8 -*-
# author : bird.zhang@ximalaya.com

from bkcharts import Bar, output_file, show

data = {'y': [1, 2, 3, 4, 5]}
output_file("lines.html", title="line plot example")
p = Bar(data, title="Line Chart Example", xlabel='x', ylabel='values', width=400, height=400,
        tools='pan,wheel_zoom,box_zoom,reset,previewsave')
show(p)
